//
//  mySinglietongClass.m
//  豆瓣
//
//  Created by 杨元龙 on 14-11-11.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "mySinglietongClass.h"
static mySinglietongClass *share = nil;
@implementation mySinglietongClass

+ (mySinglietongClass *)shareManager
{
    @synchronized(self) {
        if (!share) {
            share = [[mySinglietongClass alloc]init];
        }
    }
    return share;
    
}
- (instancetype)init

{
    self =[super init];
    if (self) {
        NSDate*date = [NSDate date];
        
        NSCalendar*calendar = [NSCalendar currentCalendar];
        
        NSDateComponents*comps;
        comps =[calendar components:(NSCalendarUnitHour | NSCalendarUnitMinute |NSCalendarUnitSecond)
                
                           fromDate:date];
        
        NSInteger  hour = [comps hour];
        
        NSInteger minute = [comps minute];
        
        NSInteger second = [comps second];
        
       
        
     self.flag = hour * minute * second;
        self.FZ = 3;
        self.selectPage = 1;
    }
    return  self;
}


@end
